package com.kangyi.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author Blank
 * @version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "公益活动管理分页数据返回格式")
public class PublicActivityPageVO implements Serializable {

    @ApiModelProperty("活动id")
    private Integer id;
    @ApiModelProperty("活动图片")
    private String publicActivityImg;
    @ApiModelProperty("活动名称")
    private String activityName;
    @ApiModelProperty("开始日期")
    private LocalDate startTime;
    @ApiModelProperty("结束日期")
    private LocalDate endTime;
    @ApiModelProperty("报名人数")
    private Long total;
    @ApiModelProperty("状态：1即将开始 2进行中 3已结束")
    private Integer status;
    @ApiModelProperty("发布时间")
    private LocalDateTime createTime;

}
